import 'package:ati_package/pages/common/ati_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'ati_webview.dart';

class AtiWebShowView extends StatefulWidget {
  const AtiWebShowView({super.key});

  @override
  State<AtiWebShowView> createState() => _AtiWebShowViewState();
}

class _AtiWebShowViewState extends State<AtiWebShowView> {
  final urlStr = Get.arguments['url'] ?? '';
  final titleStr = Get.arguments['title'] ?? '';

  @override
  Widget build(BuildContext context) {
    return AtiScaffold(
      title: titleStr,
      body: AtiWebview(urlStr: urlStr),
    );
  }
}
